import copy

original = [[1, 2, 3], [4, 5, 6]]
new2 = copy.copy(original)
new = original 
original[0][0] = 100
print(new)
print(new2) # 输出 [[100, 2, 3], [4, 5, 6]]

print("-----------")

original = [[1, 2, 3], [4, 5, 6]]
new3 = copy.deepcopy(original)
original[0][0] = 100
print(original) # 输出 [[100, 2, 3], [4, 5, 6]]
print(new3)     # 输出 [[1, 2, 3], [4, 5, 6]]
